//
//  HXSerachVC.m
//  爱鲜蜂
//
//  Created by 洪东恒 on 16/5/15.
//  Copyright © 2016年 建国. All rights reserved.
//

#import "HXSerachVC.h"

@interface HXSerachVC ()

@end

@implementation HXSerachVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //设置顶部搜索框
    [self setUpdateSearchBar];
    self.view.backgroundColor = [UIColor whiteColor];
    
}

-(void)setUpdateSearchBar{

    UISearchBar *search = [[UISearchBar alloc]initWithFrame:CGRectMake(0, 20, SCREEN_WIDTH, 40)];
    search.placeholder =  @"请输入商品的名称";
    
    self.navigationItem.titleView = search;
    
}


@end
